package edu.gdkm.demo3;

public class Example13 {
    public static int add(int x,int y){
        return x+y;
    }
    public static double add(double x,double y){
        return x+y;
    }
    public static int add(int x, int y, int z){
        return x+y+z;
    }
    public static void main(String[] args) {
        System.out.println(add(3,5));
        System.out.println(add(3.3,5.5));
        System.out.println(add(3,5,8));
        System.out.println();
    }
}
